package com.behome.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.behome.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@ApiModel(description="t_media_type")
@Data
@TableName(value = "t_media_type")
public class TMediaType extends BaseEntity {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 分类名称
     */
    @TableField(value = "type_name")
    @ApiModelProperty(value="分类名称")
    private String typeName;

    /**
     * 0禁用 1启用
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="0禁用 1启用")
    private String status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 创建人ID
     */
    @TableField(value = "create_user")
    @ApiModelProperty(value="创建人ID")
    private Long createUser;
}